define(function(require, exports, module) {
	var chioceInfo = {

		chioceMore: function() {
			var chioceClientName = sessionStorage.chioceClientName;
			var chioceClientNameId = sessionStorage.chioceClientNameId;
			var valoremName = sessionStorage.valoremName;
			var valoremNameId = sessionStorage.valoremNameId;
			var chioceStaff = sessionStorage.chioceStaff;
			var chioceStaffId = sessionStorage.chioceStaffId;
			var chioceSupplierName = sessionStorage.chioceSupplierName;
			var chioceSupplierNameId = sessionStorage.chioceSupplierNameId;

			//选择供应商
			var supplierNm = $("#companyName").html();
			if(!chioceSupplierName || chioceSupplierName == "undefined") {
				if(!supplierNm) {
					$("#companyName").html("(必填)");
				} else {
					$("#companyName").html(supplierNm);
				}
			} else {
				$("#companyName").text(chioceSupplierName);
				$("#companyName").attr("data-id", chioceSupplierNameId);
			}
			//选择供应商
			var supplierNm = $("#Supplier").html();
			if(!chioceSupplierName || chioceSupplierName == "undefined") {
				if(!supplierNm) {
					$("#Supplier").html("(必填)");
				} else {
					$("#Supplier").html(supplierNm);
				}
			} else {
				$("#Supplier").text(chioceSupplierName);
				$("#Supplier").attr("data-id", chioceSupplierNameId);
			}
			//选择客户
			var clientNm = $("#client-user").html();
			if(!chioceClientName || chioceClientName == "undefined") {
				if(!clientNm) {
					$("#client-user").html("(必填)");
				} else {
					$("#client-user").html(clientNm);
				}
			} else {
				$("#client-user").html(chioceClientName);
				$("#client-user").attr("data-id", chioceClientNameId);
			}
			//选择客户
			var clientNm = $("#client").html();
			if(!chioceClientName || chioceClientName == "undefined") {
				if(!clientNm) {
					$("#client").html("(必填)");
				} else {
					$("#client").html(clientNm);
				}
			} else {
				$("#client").html(chioceClientName);
				$("#client").attr("data-id", chioceClientNameId);
			}
			//选择计税方式
			var valoremNm = $("#valorem").html();
			if(!valoremName || valoremName == "undefined") {
				if(!valoremNm) {
					$("#valorem").html("不计税");
				} else {
					$("#valorem").html(valoremNm);
				}
			} else {
				$("#valorem").html(valoremName);
				$("#valorem").attr("data-id", valoremNameId);
			}
			//选择负责人
			var chioceSf = $("#staff-user").html();
			if(!chioceStaff || chioceStaff == "undefined") {
				if(!chioceSf) {
					$("#staff-user").html("(必填)");
				} else {
					$("#staff-user").html(chioceSf);
				}
			} else {
				$("#staff-user").html(chioceStaff);
				$("#staff-user").attr("data-id", chioceStaffId);
			}

		}

	};
	module.exports = chioceInfo;

});